<%-- 
    Document   : shorten
    Created on : Oct 27, 2010, 6:24:34 PM
    Author     : madhurt
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="gebogebo_url_shorten.css" />
        <title>Your URL has been shortened successfully...</title>
    </head>
    <body>
        <div style="text-align: center; vertical-align: middle">
            <table align="center" style="text-align: center; vertical-align: middle; padding-top: 100px">
                <thead>
                    <tr>
                        <th style="text-align: center; vertical-align: middle"> 
                            <img alt="GeboGebo Logo"  src="logo.jpg" />
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td align="center" style="align:cetner; text-align: center; vertical-align: top;">
                            <label title="Original URL"><%= request.getParameter("incoming_url") %></label>
                            <p style="margin: 5px"><sub>was shortened to</sub></p>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="align:cetner; text-align: center; vertical-align: top;">
                            <label title="Short URL"><%= request.getAttribute("shortURL")%></label>
                            <!-- Short Key : <%= request.getAttribute("shortKey")%> -->
                        </td>
                    </tr>
                    <tr style="margin:20px;">
                        <td style="padding:15px;">
                            Test the new short link by clicking <br/> <a href="<%= request.getAttribute("shortURL")%>"><%= request.getAttribute("shortURL")%></a>
                        </td>
                    </tr>
                    <tr style="margin:20px;">
                        <td style="padding:15px;">
                            Wanna shorten another link? Sure <a href="/">go ahead!</a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </body>
</html>
